package top.zywork.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * GraphicPreferentialVO值对象类<br/>
 *
 * 创建于2020-12-02<br/>
 *
 * @author http://ljyanimo.com 刘金泳
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
public class GraphicPreferentialVO extends BaseVO {

    private static final long serialVersionUID = -9223372035741806783L;

    /**
	 * 主键
	 */
	private Integer id;
	/**
	 * 图文店
	 */
	private Integer graphicId;
	/**
	 * 二维码图片
	 */
	@Size(min = 0, max = 255, message = "必须小于255个字符")
	private String qrCode;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 是否激活
	 */
	private Byte isActive;
	/**
	 * 版本号
	 */
	private Integer version;
	/**
	 * 更新时间
	 */
	private Date updateTime;

	private String qqCode;

}
